package com.zhijiaoyun.service;

import com.zhijiaoyun.model.FeedBack;
import com.zhijiaoyun.model.dto.PageList;

import javax.servlet.http.HttpServletRequest;

/**
 * @author shisfish
 * @date 2018/1/18
 */
public interface IFeedBackServie {

    /**
     * 分页 反馈信息
     *
     * @param pageIndex
     * @param pageSize
     * @param content
     * @return
     */
    PageList<FeedBack> page(int pageIndex, int pageSize, String content);

    /**
     * 新增
     *
     * @param feedBack
     */
    void addFeedBack(FeedBack feedBack);

    /**
     * 新增
     *
     * @param content
     * @param device
     * @param request
     */
    void saveFeedBack(String content, String device, HttpServletRequest request);
}
